package com.yonyou.crm.sys.repair.rmimpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yonyou.crm.sys.repair.entity.RepairVO;
import com.yonyou.crm.sys.repair.rmitf.IRepairRmService;
import com.yonyou.crm.sys.repair.service.RepairBizService;
@Service("repairService")
public class RepairRmServiceImpl implements IRepairRmService{
	@Autowired
	private RepairBizService RbizService;

	@Override
	public RepairVO insertRepair(RepairVO vo) {
		// TODO 自动生成的方法存根
		return RbizService.saveVO(vo);
	}

	@Override
	public void deleteRepair(Long id) {
		// TODO 自动生成的方法存根
		 RbizService.deleteVO(idGetRepair(id));
		 return;
	}

	@Override
	public RepairVO updateRepair(RepairVO vo) {
		// TODO 自动生成的方法存根
		return RbizService.updateVO(vo);
	}

	@Override
	public RepairVO idGetRepair(Long id) {
		// TODO 自动生成的方法存根
		return RbizService.getVOById(RepairVO.class, id);
	}


	

	
	

}
